package com.usian.service;


import com.usian.comment.Comment;
import com.usian.feedback.Feedback;
import com.usian.square.Square;
import com.usian.user.User;

import java.util.List;
import java.util.Map;

public interface SquareService {
    List<Square> findAll(Square square);

    int add(Square square);

    List<Square> findById(Integer userId);

    User selectUserByIdTwo(Integer id);

    List<Comment> comments(Integer id, Integer status);

    User selectUserThree(Integer userId);

    int addComment(Comment comment);

    int praise(Integer id);

    List<Map<String, Object>> comment();

    int feedback(Feedback feedback);
}
